import request from '@/utils/request'
export function refundList(data) {
    return request({
        url: '/api/Refund/refundList',
        method: 'post',
        data
    })
}
export function getErprefund(data) {
    return request({
        url: '/api/Refund/getErprefund',
        method: 'post',
        data
    })
}
export function refundGoods(data) {
    return request({
        url: '/api/Refund/refundGoods',
        method: 'post',
        data
    })
}
export function checkRefundBill(data) {
    return request({
        url: '/api/refund/checkRefundBill',
        method: 'post',
        data
    })
}
//商超退货单列表
export function selectRefundOrderList(data) {
    return request({
        url: '/smkapi/refund/selectRefundOrderList',
        method: 'post',
        data
    })
}
//商超退货单列表详情
export function findRefundOrderInfo(data) {
    return request({
        url: '/smkapi/refund/findRefundOrderInfo',
        method: 'post',
        data
    })
}
//拉取商汇7退货单
export function pullRefundData(data) {
    return request({
        url: '/smkapi/refund/pullRefundData',
        method: 'post',
        data
    })
}
//退货单审核
export function checkRefundOrder(data) {
    return request({
        url: '/smkapi/refund/checkRefundOrder',
        method: 'post',
        data
    })
}
//退货单编辑
export function editRefundData(data) {
    return request({
        url: '/smkapi/refund/editRefundData',
        method: 'post',
        data
    })
}
//回退
export function backReturnOrder(data) {
    return request({
        url: '/smkapi/refund/backReturnOrder',
        method: 'post',
        data
    })
}

//添加退货单
export function ReturnOrderadd(data) {
    return request({
        url: '/api/Refundnew/add',
        method: 'post',
        data
    })
}
//退货单详情
export function ReturnOrderdetails(data) {
    return request({
        url: '/api/Refundnew/details',
        method: 'post',
        data
    })
}
//编辑退货单
export function ReturnOrderupdata(data) {
    return request({
        url: '/api/Refundnew/updata',
        method: 'post',
        data
    })
}
//删除退货单
export function ReturnOrderdel(data) {
    return request({
        url: '/api/Refundnew/del',
        method: 'post',
        data
    })
}
//审核退货单
export function ReturnOrderchecknew(data) {
    return request({
        url: '/api/Refundnew/checknew',
        method: 'post',
        data
    })
}
//退货单列表
export function ReturnOrderrefundList(data) {
    return request({
        url: '/api/Refundnew/refundList',
        method: 'post',
        data
    })
}
//不入库审核
export function checkRefundOrderUnStock(data) {
    return request({
        url: '/smkapi/refund/checkRefundOrderUnStock',
        method: 'post',
        data
    })
}
//获取来源
export function getSourceData(data) {
    return request({
        url: '/smkapi/option/getSourceData',
        method: 'post',
        data
    })
}